package org.swift.mashup.engine.model;

import java.util.Map;


public final class NullFrom implements From {

	private final static NullFrom instance = new NullFrom();
	
	private NullFrom() {}
	
	public static NullFrom instance() {
		return instance;
	}
	
	public String getSource() {
		return "";
	}
	
	public Object getValue(Map<String, ? extends Object> map,
			Map<String, ? extends Object> restMap) {
		return "";
	}

	public Object getValue(Map<String, ? extends Object> map,
			Map<String, ? extends Object> restMap,
			Map<String,String> headerMap) {
		return "";
	}
	
	public String getFromProcessor() {
		return null;
	}

	public void setFromProcessor(String processor) {
		// implement method, do nothing
	}

}
